// const { defineConfig } = require('@vue/cli-service')
const path = require('path')
module.exports = {
  transpileDependencies: true,
  //使打包项目后不包含map文件
  productionSourceMap:false,
  //关闭eslent校验工具
  lintOnSave: false,
  //代理跨域
  devServer: {
    proxy: {
      '/api': {
        target: 'http://gmall-h5-api.atguigu.cn',
        // pathRwrite:{'^/api':''},
      }

    }
  },
}
